#ifndef SINGLETON_H
#define SINGLETON_H

template<class T>
class Singleton
{
private:
    static T *instance;
    Singleton();
public:
    static T* Instance();
};

#endif // SINGLETON_H
